package com.wing.product.model.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wing.mybatis.common.BaseEntity;
import com.wing.product.model.response.WarehouseProductInventoryVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper=true)
public class WarehouseStorageOrderForm extends BaseEntity<WarehouseStorageOrderForm> {


    @Schema(description="入库作业编号")
    private String storageRecordCode;
    @Schema(description="仓库ID")//
    private Long warehouseFactoryAdministrationId;
    @Schema(description="产品id 取 warehouse_product表")
    private Long warehouseProductId;
    @Schema(description="托管订单ID")
    private Long warehouseOrderId;//
    @Schema(description="库位ID")
    private Long warehouseFactoryShelfSpaceId;
    @Schema(description="签收记录ID")
    private Long signInRecordId;//
    @Schema(description="入库数量")
    private String inventoryQuantity;//
    @Schema(description="净重")
    private Double netWeight;//
    @Schema(description="毛重")
    private Double grossWeight;//
    @Schema(description="库区id")
    private Long warehouseAreaId;//
    @Schema(description="客户")
    private String customerId;//
    @Schema(description="合计价格")
    private BigDecimal totalPrice;
    @Schema(description="发货订单编号")
    private String shipmentOrderCode;
    @Schema(description="订单编号")
    private String orderCode;
    @Schema(description="出入库类型id")
    private Long inventoryTypeId;//

    @TableField(value = "warehouse_type_id")
    @Schema(description="仓库类型ID")
    private Long warehouseTypeId;//

    @TableField(value = "warehouse_shelf_space_id")
    @Schema(description="库位ID")
    private Long warehouseShelfSpaceId;//

    private Long warehouseShelfId;//货架id
    private Long inventoryId;


    private List<WarehouseProductInventoryVO> warehouseProductInventoryVoList;
}
